export default defineAppConfig({
  pages: [
    "pages/home/index",
    "pages/recommend/index",
    "pages/agreement/index",
    "pages/role/index",
    "pages/carInfo/index",
    "pages/personInfo/index",
    "pages/sign/index",
    "pages/result/index",
    "pages/payResult/index",
    "pages/my/index",
    "pages/invoice/index",
    "pages/invoiceList/index",
    "pages/buyList/index",
    "pages/detail/index",
    "pages/privacy/index",
    "pages/Approval/index",
    "pages/editContent/index",
    "pages/summary/index",
    "pages/test/index",
    "pages/userInfo/index",
  ],

  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#009afa",
    navigationBarTitleText: "车驰通",
    navigationBarTextStyle: "white",
    enablePullDownRefresh: false, // 是否开启下拉刷新
  },
  tabBar: {
    list: [
      {
        pagePath: "pages/home/index",
        text: "首页",
        selectedIconPath: "assets/tabBar/home-active.png",
        iconPath: "assets/tabBar/home.png",
      },
      {
        iconPath: "assets/tabBar/mine.png",
        selectedIconPath: "assets/tabBar/mine-active.png",
        pagePath: "pages/my/index",
        text: "我的",
      },
    ],
    color: "#333",
    selectedColor: "#333",
    backgroundColor: "#fff",
    borderStyle: "black",
  },
});
